package qianfeng.com.meijiadaka.bean.gnk;

import java.util.List;

/**
 * Created by yanshihao on 2017/2/10.
 */

public class HeaderBean {
    /**
     * code : 0
     * result : {"headline":[{"articleId":136,"articlePicture":"http://pic.yilos.com/dda1cd5a7f37e5276171547ba3bd73df.jpg"},{"articleId":189,"articlePicture":"http://pic.yilos.com/498b89beff6fcbe2d829a2d7f0849b4e.jpg"},{"articleId":179,"articlePicture":"http://pic.yilos.com/4928f6405b89148be61d18340cb91a6b.jpg"},{"articleId":139,"articlePicture":"http://pic.yilos.com/48ee9394d3c3b1c6e930fa1a417bac3b.jpg"},{"articleId":175,"articlePicture":"http://pic.yilos.com/72f9c7d8d3e4d532a1db6b57ed13919b.jpg"}],"chosen":[{"categoryId":5,"categoryIcon":"http://pic.yilos.com/184dae0f18da9afcbd23838955882359.jpg"},{"categoryId":4,"categoryIcon":"http://pic.yilos.com/a6931727e6dd77e5cfb15bbcef649821.jpg"},{"categoryId":3,"categoryIcon":"http://pic.yilos.com/b5cde26e321c7b07aff19f374d95e16d.jpg"},{"categoryId":6,"categoryIcon":"http://pic.yilos.com/2e32dfbcb7c71b045cbce580c2f52e45.jpg"}]}
     */

    private int code;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private List<HeadlineBean> headline;
        private List<ChosenBean> chosen;

        public List<HeadlineBean> getHeadline() {
            return headline;
        }

        public void setHeadline(List<HeadlineBean> headline) {
            this.headline = headline;
        }

        public List<ChosenBean> getChosen() {
            return chosen;
        }

        public void setChosen(List<ChosenBean> chosen) {
            this.chosen = chosen;
        }

        public static class HeadlineBean {
            /**
             * articleId : 136
             * articlePicture : http://pic.yilos.com/dda1cd5a7f37e5276171547ba3bd73df.jpg
             */

            private int articleId;
            private String articlePicture;

            public int getArticleId() {
                return articleId;
            }

            public void setArticleId(int articleId) {
                this.articleId = articleId;
            }

            public String getArticlePicture() {
                return articlePicture;
            }

            public void setArticlePicture(String articlePicture) {
                this.articlePicture = articlePicture;
            }
        }

        public static class ChosenBean {
            /**
             * categoryId : 5
             * categoryIcon : http://pic.yilos.com/184dae0f18da9afcbd23838955882359.jpg
             */

            private int categoryId;
            private String categoryIcon;

            public int getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(int categoryId) {
                this.categoryId = categoryId;
            }

            public String getCategoryIcon() {
                return categoryIcon;
            }

            public void setCategoryIcon(String categoryIcon) {
                this.categoryIcon = categoryIcon;
            }
        }
    }
}
